package nodeRegister

type Register struct {
	Node         string `json:"node"`
	Type         string `json:"type"`
	Cluster      string `json:"cluster"`
	DevicePlugin string `json:"device_plugin"`
}

const (
	CloudType = "cloud"
	EdgeType  = "edge"
)

var AllowRegisterType = []string{
	CloudType,
	EdgeType,
}

const (
	NoneDevicePlugin = ""
	GPUDevicePlugin  = "gpu"
)

var AllowRegisterDevicePlugin = []string{
	NoneDevicePlugin,
	GPUDevicePlugin,
}
